-- GENERATED SPELL FOR [Shadowforge Ruffian] --


function spell0_4845(pUnit, Event) --@Kick,n/a--
pUnit:FullCastSpellOnTarget(11978,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4845', 6285, 1)
end

function Sorts_4845(pUnit, Event)
local choix_sorts_4845 = math.random(0, 0)
if choix_sorts_4845 == 0 then
pUnit:RegisterEvent('spell0_4845', 1, 1)
end
end

function mob4845_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4845', math.random(1500, 3000), 1)
end

function mob4845_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4845_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4845_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4845, 1, 'mob4845_Action')
RegisterUnitEvent(4845, 2, 'mob4845_Leave')
RegisterUnitEvent(4845, 3, 'mob4845_Kill')
RegisterUnitEvent(4845, 4, 'mob4845_Die')
